home *** CD-ROM | disk | FTP | other *** search
/ Mobiclic 71 / MOBICLIC 71.ISO / mac / DATA / COMMUN / temp0001 / 00247_Script_MODELE_COMPORTEMENT_BOUTON (à copier) < prev    next >
Text File  |  2004-12-05  |  898b  |  37 lines

  1. global gJLM_W
  2. property p_cettePiste, p_Nodepiste,p_nom_Acteur
  3. ----------------------------------
  4. on beginsprite me
  5.   p_Nodepiste = me.spriteNum
  6.   p_cettePiste = sprite(p_Nodepiste)
  7.   p_nom_Acteur = p_cettePiste.member.name
  8. end
  9. ----------------------------------- 
  10. on mouseEnter
  11.   if the pauseState = 1 then exit
  12.   if gJLM_W > 0 then exit
  13.   cursor 280
  14.   p_cettePiste. member = p_nom_Acteur&"_R"
  15.   updateStage
  16. end
  17. ----------------------------------- 
  18. on mouseWithin
  19.   if the pauseState = 1 then exit
  20.   if gJLM_W > 0 then exit
  21.   cursor 280
  22. end
  23. ---------------------------------
  24. on mouseLeave
  25.   cursor -1
  26.   if the pauseState = 1 then exit
  27.   if gJLM_W > 0 then exit
  28.   puppetsprite  p_Nodepiste , FALSE
  29. end
  30. ----------------------------------- 
  31. on mouseUp
  32.   if the pauseState = 1 then exit
  33.   if gJLM_W > 0 then exit
  34.   cursor -1
  35. end
  36. ----------------------------------- 
  37.